home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wics.zip / PCTBAR.H < prev    next >
C/C++ Source or Header  |  1993-03-04  |  1KB  |  40 lines

  1. //==============================================================================================
  2. //
  3. //    Windows Interface Construction Set
  4. //    Version 1.00
  5. //
  6. //    PCTBAR.H - Percent Bar Header File
  7. //    Copyright ⌐ 1993 by Microdyne Development Technologies.
  8. //    All rights reserved.
  9. //==============================================================================================
  10.  
  11. #ifndef _PCTBAR_H
  12. #define _PCTBAR_H
  13.  
  14. #include <wics.h>
  15. #include <control.h>
  16.  
  17. #pragma option -Vo-
  18.  
  19. _CLASSDEF (TPercentBar)
  20.  
  21. class TPercentBar : public TControl
  22. {
  23. private:
  24.     virtual const Pchar streamableName() const { return "TPercentBar"; }
  25.  
  26. protected:
  27.     virtual LPSTR GetClassName() { return "PercentBar"; }
  28.     TPercentBar(StreamableInit) : TControl(streamableInit) {};
  29.  
  30. public:
  31.     TPercentBar (PTWindowsObject AParent, int ResourceId, PTModule AModule = NULL);
  32.     ~TPercentBar ();
  33.  
  34.     virtual void SetLimit (long limit);
  35.     virtual void SetBytesProcessed (long b);
  36. };
  37.  
  38. #pragma option -Vo.
  39.  
  40. #endif